<?php
/**
 * @version        $Id: ajax_loginsta.php 1 8:38 2010年7月9日Z tianya $
 * @package        DedeCMS.Member
 * @copyright      Copyright (c) 2007 - 2010, DesDev, Inc.
 * @license        http://help.dedecms.com/usersguide/license.html
 * @link           http://www.dedecms.com
 */
require_once(dirname(__FILE__)."/config.php");
AjaxHead();
if($myurl == '') exit('');

$uid  = $cfg_ml->M_LoginID;

!$cfg_ml->fields['face'] && $face = ($cfg_ml->fields['sex'] == '女')? 'dfgirl' : 'dfboy';
$facepic = empty($face)? $cfg_ml->fields['face'] : $GLOBALS['cfg_memberurl'].'/templets/images/'.$face.'.png';
?>
<div class="yeslg">
    <div class="one">
        <a href="<?php echo $cfg_memberurl; ?>/"><img src="<?php echo $facepic;?>" class="atvar"></a>
        <ul>
            <li class="uname"><?php echo $cfg_ml->M_UserName; ?></li>
            <li><b>金币：</b><?php echo $cfg_ml->M_Money;?></li>
            <li><b>素材：</b><?php echo $mysc_all; ?></li>
        </ul>
    </div>
    <div class="two">
        <p>
            <a href="<?php echo $cfg_memberurl; ?>/buy.php">充值赞助</a>
            <a href="<?php echo $cfg_memberurl; ?>/operation.php" style="margin-right:0">账户明细</a>
        </p>
        <p>
            <a href="<?php echo $cfg_memberurl; ?>/">会员中心</a>
            <a href="<?php echo $cfg_memberurl; ?>/pm.php" style="margin-right:0">消息<i><?php echo $mypms;?></i></a>
        </p>
    </div>
</div>